﻿using SqlSugar;
using System;
using System.Diagnostics.Contracts;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 员工扩展信息2
    /// </summary>
    [SugarTable("UserExtensionSecond")]
    public class UserExtensionSecondEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid UserId { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 员工名称
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 所属区域
        /// </summary>
        public string RegionCode { get; set; }

        /// <summary>
        /// 所属区域
        /// </summary>
        public string RegionName { get; set; }

        /// <summary>
        /// 证件类型编码
        /// </summary>
        public string CardTypeCode { get; set; }

        /// <summary>
        /// 证件类型名称
        /// </summary>
        public string CardTypeName { get; set; }

        /// <summary>
        /// 证件号码
        /// </summary>
        public string CardNum { get; set; }

        /// <summary>
        /// 户口性质
        /// </summary>
        public string CategoryType { get; set; }

        /// <summary>
        /// 户籍地址
        /// </summary>
        public string CardAddress { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        public string ContactAddress { get; set; }

        /// <summary>
        /// 员工邮编
        /// </summary>
        public string PostCode { get; set; }

        /// <summary>
        /// 工时属性
        /// </summary>
        public string TimeSheetType { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }

        /// <summary>
        /// 学历
        /// </summary>
        public string Education { get; set; }

        /// <summary>
        ///  毕业时间
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        ///  学校
        /// </summary>
        public string School { get; set; }

        /// <summary>
        /// 电子签身份ID
        /// </summary>
        public string AccountId { get; set; }

        /// <summary>
        /// 工作地点
        /// </summary>
        public string WorkAddress { get; set; }

        /// <summary>
        /// 工作地点(市)
        /// </summary>
        public string ORT01 { get; set; }

        /// <summary>
        /// 专业
        /// </summary>
        public string Special { get; set; }
    }
}
